home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Avalanche!
/
Shareware Avalanche!.iso
/
os2
/
dos5img.doc
< prev
next >
Wrap
Text File
|
1992-08-25
|
5KB
|
161 lines
Creating a DOS 5.0 Image file for OS/2, 2.0
After lots of trial and error, reading all the on-line help
files, and two OS/2 books, I have finally gotten a DOS 5.0 image
file to work properly. To help others that have become frustrat-
ed with this process, I will try to put it all together for you
in this text file.
-----------------------------------------------------------------
1. Create a bootable 360K or 720K diskette with DOS 5.0. You can
use high density diskettes if you wish, but each image file
you create will equal the size of the diskette you use. By
using a 360K diskette, your image files will only be 368K in
size.
2. Copy all of the following files to the bootable diskette:
From: Filename:
\OS2\MDOS ANSI.SYS
\OS2\MDOS FSFILTER.SYS
\OS2\MDOS EMM386.SYS
\OS2\MDOS HIMEM.SYS
\OS2\MDOS MOUSE.COM
3. Create a CONFIG.SYS file on the Bootable diskette like the
following:
device=himem.sys
device=emm386.sys
dos=high,umb
devicehigh=fsfilter.sys
devicehigh=ansi.sys
files=40
buffers=30
4. Create a AUTOEXEC.BAT file on the bootable diskette like the
following:
echo off
set comspec=c:\dos\command.com
lh mouse
path c:\;c:\dos
prompt $p$g
c:
cd \dos
dos5-img.bat
The last line of the AUTOEXEC.BAT file will load a batch file
named DOS5-IMG.BAT in the \DOS subdirectory. Use this batch
file to continue executaion of other programs or utilities.
See step 5 for a sample batch file.
5. Create a batch file in the \DOS subdirectory named DOS5-IMG.
BAT similiar to the following:
echo off
\os2\mdos\fsaccess a:
The second line of this batch file will release access to the
image file. Otherwise the DOS session thinks the image file
is drive A, and you will not have access to the physical
drive a on your system.
6. Open a OS/2 window, and change to your DOS subdirectory,
type:
cd \DOS <enter>
VMDISK A: DOS5.IMG <enter>
This will create an image of the diskette you created in
steps 1 through 5. The image file will be named DOS5.IMG and
will be located in the \DOS subdirectory.
7. Exit the OS/2 Window, and return to the Desktop.
8. Create a DOS Window object:
a. Open the " OS/2 System " folder.
b. Double click on the "Command Prompts" icon.
c. Copy the DOS Window icon to the Desktop by holding down
the CTRL key and dragging the icon to the Desktop.
d. Close the "Command Prompts" and the "OS/2 System" folder.
9. Change the DOS Settings for the DOS Window icon:
a. Select the "DOS Window" icon by clicking on it once.
b. Bring up its menu by clicking the right mouse button once.
c. Click on the ARROW on the "OPEN" line.
d. Select "Settings".
e. In the "DOS Window - Settings" notebook, select "Session".
f. Select "DOS Settings".
g. Change the following settings:
1. DOS_HIGH to: ON
2. DOS_SHELL to: C:\DOS\COMMAND.COM C:\DOS\ /p
3. DOS_STARTUP_DRIVE to: C:\DOS\DOS5.IMG
Note:
If your pc has a LAN adapter, or other board that uses RAM
memory, add the range it uses to the MEM_EXCLUDE_REGIONS
settings (ie, C800-CC00 for my Ethernet adapter).
There may be other settings you wish to change, but don't
do it yet. Get the DOS Window up and working first, then
you can make other necessary changes.
10. Save the settings you changed, and exit the notebook.
11. Time to test all this stuff out. Double click on your new
DOS 5 Window, and you there you are!
If you have problems with the above steps, please double check
all your file and directory names, especially the ones in the
"DOS Settings".
If anyone has additional information, corrections, or a just a
better way of doing this, please contact me at one of the
numbers below. The last thing I want to do is give out wrong, or
insufficient information. We will leave that up to the software
companies (grin).
filename: DOS5-IMG.TXT
Orig. Date: 13 Jul. 92
Author: Jeff Grant
I can be contacted if necessary on one of the following BBS's:
Cubix Technical Support BBS - 702-882-8737
MegaSystem BBS 702-849-2207
Or the RIME OS/2 conference.